/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.fee.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.fee.entity.Profit;
import com.jeeplus.modules.fee.mapper.ProfitMapper;

/**
 * 利润分析Service
 * @author 李超辉
 * @version 2018-05-22
 */
@Service
@Transactional(readOnly = true)
public class ProfitService extends CrudService<ProfitMapper, Profit> {

	public Profit get(String id) {
		return super.get(id);
	}
	
	public List<Profit> findList(Profit profit) {
		return super.findList(profit);
	}
	
	public Page<Profit> findPage(Page<Profit> page, Profit profit) {
		return super.findPage(page, profit);
	}
	
	@Transactional(readOnly = false)
	public void save(Profit profit) {
		super.save(profit);
	}
	
	@Transactional(readOnly = false)
	public void delete(Profit profit) {
		super.delete(profit);
	}
	
}